//
//  ZLJDrawerViewController.h
//  SoutheastAsia
//
//  Created by rimi on 16/1/8.
//  Copyright © 2016年 zlj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZLJDrawerViewController : UIViewController

@property (nonatomic, strong, readonly) UIViewController *mainViewController;

@property (nonatomic, strong, readonly) UIViewController *leftViewController;

@property (nonatomic, strong, readonly) UIViewController *rightViewController;
@property (nonatomic, assign, readonly) BOOL drawerViewIsOpen;

- (instancetype)initWithMainViewController:(UIViewController *)mainViewController leftViewController:(UIViewController *)leftViewController rightViewController:(UIViewController *)rightViewController;

- (instancetype)initWithMainViewController:(UIViewController *)mainViewController leftViewController:(UIViewController *)leftViewController;

- (void)openLeftDrawer;
- (void)closeLeftDrawer;
- (void)openRightDrawer;
- (void)closeRightDrawer;

@end
